<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sec="https://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <meta charset="UTF-8">
    <title>UserInfo</title>
    <link href="/layui/css/layui.css" type="text/css" rel="stylesheet">
    <script src="/layui/layui.js"></script>
    <script src="/js/libSys/commonHeader.js" rel="script"></script>
</head>
<body>
<div class="layui-container">
    <table class="layui-table">
        <colgroup>
            <col width="200">
            <col>
        </colgroup>
        <thead>
        <tr>
            <th>属性</th>
            <th>内容</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>用户ID</td>
            <td th:text="${userData.userId}">2016-11-26</td>
        </tr>
        <tr>
            <td>用户名</td>
            <td th:text="${userData.username}">2016-11-28</td>
        </tr>
        <tr>
            <td>性别</td>
            <td th:text="${userData.sex}">2016-11-28</td>
        </tr>
        <tr>
            <td>电话</td>
            <td th:text="${userData.telphone}">2016-11-28</td>
        </tr>
        <tr>
            <td>邮箱</td>
            <td th:text="${userData.email}">2016-11-28</td>
        </tr>
        <tr>
            <td>角色</td>
            <td th:if="${userData.roleId} eq 1">User</td>
            <td th:if="${userData.roleId} eq 2">系统管理员</td>
        </tr>
        </tbody>
    </table>
</div>


</body>
</html>